package transactionimplementation
/*
 * 增加按照的销售情况雇员
 */

import (
	"salary/abstracttransactions"
	"salary/model"
	"salary/modelimplementation"
)

type AddCommissionEmployee struct {
	abstracttransactions.AddEmployeeTransaction
	salary         	float64
	commissionRate 	float64
}

func (ace *AddCommissionEmployee) GetClassification() model.PaymentClassification {
	return modelimplementation.NewCommissionClassification(ace.salary, ace.commissionRate)
}

func (ace *AddCommissionEmployee) GetSchedule() model.PaymentSchedule {
	return &modelimplementation.BiweeklySchedule{}
}
